package turnstile;

import system.System;
import card.Card;
import exceptions.NonWorkingCardException;

public class Turnstile {
	
	private System system;

	public Turnstile(System system) {
		this.system = system;
	}

	public void skipPassenger(Card card) throws NonWorkingCardException {
		system.decreaseRideQuantity(card.getCardID());
	}
}
